package com.ardo.mapper;


import com.ardo.entity.mall.WxLoginLog;
import com.ardo.entity.mall.WxUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {

    void insertWxUser(@Param("user") WxUser user);

    WxUser findByOpenid(@Param("openid") String openid);

    void insertWxLoginLog(@Param("log") WxLoginLog log);
}
